﻿using System;

class Cards
{
    static void Main()
    {
        //Exercise 11.
        //Write a program that prints all possible cards from a standard deck of 52 cards (without jokers). 
        //The cards should be printed with their English names. Use nested for loops and switch-case.
        

        for (int cards = 2; cards <= 14; cards++)
        {
            for (int colors = 1; colors <=4; colors++)
            {
                switch (cards)
                {
                    case 2:
                        Console.Write("Deuce ");
                        break;
                    case 3:
                        Console.Write("Three ");
                        break;
                    case 4:
                        Console.Write("Four ");
                        break;
                    case 5:
                        Console.Write("Five ");
                        break;
                    case 6:
                        Console.Write("Six ");
                        break;
                    case 7:
                        Console.Write("Seven ");
                        break;
                    case 8:
                        Console.Write("Eight ");
                        break;
                    case 9:
                        Console.Write("Nine ");
                        break;
                    case 10:
                        Console.Write("Ten ");
                        break;
                    case 11:
                        Console.Write("Jack ");
                        break;
                    case 12:
                        Console.Write("Queen ");
                        break;
                    case 13:
                        Console.Write("King ");
                        break;
                    case 14:
                        Console.Write("Ace ");
                        break;
                    default:
                        Console.Write("Error!");
                        break;
                }
                switch (colors)
                {
                    case 1:
                        Console.WriteLine("of hearts");
                        break;
                    case 2:
                        Console.WriteLine("of spades");
                        break;
                    case 3:
                        Console.WriteLine("of diamonds");
                        break;
                    case 4:
                        Console.WriteLine("of clubs");
                        break;
                    default:
                        Console.WriteLine("Error again!");
                        break;
                }            
            }
            Console.WriteLine();
        }        
    }
}

